package com.kaifamiao.month04.day05;

public class LinkedListTest {

    public static void main(String[] args) {
        MyLinkedList list = new MyLinkedList();
        list.add(1);
        list.add(2);
        list.add(3);
        list.add(4);
        System.out.println(list.size());
        System.out.println(list.get(2));
//        System.out.println(list.removeFirst().getValue());
////        System.out.println(list.removeFirst().getValue());
//        System.out.println(list.getFirst());
//        System.out.println(list.removeLast().getValue());
//        System.out.println(list.size());
    }
}
